<!-- if语句 -->
@if (1>0) {
<button>Erase database</button>
}
<!-- 循环语句 -->
<ul>
  @for (item of ingredientList; track $index) {
  <li>{{item.name}}::{{item.quantity}}</li>
  }
</ul>

<!-- 用户交互 -->
<form>
  <button nz-button nzType="primary" nzLoading>primary</button>
  <div>{{announcement}}==={{totalCost}}</div>
  <button type="button" (click)="changeStr()">changeStr</button>
</form>